Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1GroupDataCollection<S> Class / C1GroupDataCollection<S> Constructor
The source.
if set to true the groups will be inline with the items, otherwise the first level will contain groups and the items will be inside each group.

In This Topic
    C1GroupDataCollection<S> Constructor
    In This Topic
    Initializes a new instance of the C1GroupDataCollection<S> class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal source As IEnumerable(Of S), _
       ByVal isPlain As Boolean _
    )
    public C1GroupDataCollection<S>( 
       IEnumerable<S> source,
       bool isPlain
    )

    Parameters

    source
    The source.
    isPlain
    if set to true the groups will be inline with the items, otherwise the first level will contain groups and the items will be inside each group.
    See Also